<!DOCTYPE html>
<html>
  <head>
    {include file="common/meta" /}
  </head>
  <body class="layui-anim layui-anim-up">
    <div class="x-body">
        <!-- 搜索 -->
        <div class="layui-row">
          <form method="get" class="layui-form layui-col-md12 x-so">
            <input class="layui-input" placeholder="开始日" name="start" id="start" value="" />
  
            <input class="layui-input" placeholder="截止日" name="end" id="end" value="" />
  
            <input type="text" name="keywords"  placeholder="请输入昵称或邮箱" autocomplete="off" value="" class="layui-input">
            
            <button class="layui-btn">
                <i class="layui-icon">&#xe615;</i>
            </button>

            <span class="x-right" style="line-height:40px">共有数据：{$count} 条</span>
          </form>
        </div>
      <!-- 分页列表 -->
      <table class="layui-table">
        <thead>
          <tr>
            <th>消费用户</th>
            <th>消费详情</th>
            <th>消费状态</th>
            <th>消费时间</th>
            <th>变化的积分</th>
          </tr>
        </thead>
        <tbody>
            {foreach $userlist as $item}
              <tr>
                <td>{$item.user.nickname}</td>
                <td>{$item.content}</td>
                <td>{$item.state_text}</td>
                <td>{$item.createtime}</td>
                <td>{$item.point}</td>
              </tr>
            {/foreach}
        </tbody>
      </table>

      <!-- 分页 -->
      <div class="page">
        {$pagestr}
      </div>
    </div>
  </body>
</html>